﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Web.UI.WebControls;

namespace Vehicle.Interface
{
    /// <summary>
    /// Copyright (C) M-Tear团队
    /// 文 件 名：IPost.cs
    /// 版    本：v1.00.0000
    /// 创建标识：2009-09-05    Created by 孙成杰 V1.00.0000
    /// 功能说明：Post表接口层类（继承于接口层基类)
    /// 注意事项：无
    /// 
    /// 更新记录：
    /// 
    /// </summary>
    public interface IPost
    {
        /// <summary>
        ///  通过时间和标题查询绑定页面Repeater控件
        /// </summary>
        /// <param name="rep">Repeater控件对象</param>
        /// <param name="m_ComponentsInfo">通用实体对象</param>
        void RepeaterBindSearch(Repeater rep, Model.ComponentsInfo m_ComponentsInfo);

        /// <summary>
        ///  添加公告数据
        /// </summary>
        /// <param name="m_PostInfo">实体对象</param>
        void Add(Model.PostInfo m_PostInfo);

        /// <summary>
        /// 修改公告数据
        /// </summary>
        /// <param name="m_PostInfo">实体对象</param>
        void Update(Model.PostInfo m_PostInfo);
    }
}
